<template>
	<span>
		<slot></slot>
		{{ title }}
		<FormOutlined v-if="showEditIcon" />
	</span>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { FormOutlined } from '@ant-design/icons-vue';
export default defineComponent({
	name: 'EditTableHeaderIcon',
	components: { FormOutlined },
	props: { title: { type: String, default: '' }, showEditIcon: { type: Boolean, default: false } },
});
</script>
